﻿using Microsoft.Extensions.DependencyInjection;
using Net8.DependencyInjection.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Authentication.ExtendedProtection;
using System.Text;
using System.Threading.Tasks;

namespace Net8.DependencyInjection
{
    /// <summary>
    /// 依赖注入
    /// </summary>
    public class DependencyInjection
    {
        // 1、创建依赖注入（IOC 容器）
        //ServiceCollection services = new ServiceCollection();
        ServiceCollection services = new ServiceCollection();
        //// 2、注册ProductService
        //services
        //services.
                //services.AddSingleton<ProductService>();



    }
}
